<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台管理首页</title>
    <link rel="stylesheet" type="text/css" href="/public/css/ext/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="/public/css/ext/bootstrap-theme.css">

    <script type="text/javascript" src="/public/js/ext/jquery-2.1.1.js"></script>
    <script type="text/javascript" src="/public/js/ext/bootstrap.min.js"></script>

</head>
<body>

<div class="admin-index">
    <div class="container">
        <div class="row">

            <!-- 顶部导航条 -->
            <nav class="navbar navbar-default">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <a class="navbar-brand" href="/admin">后台</a>
                    </div>

                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="/admin/user">用户管理</a></li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">分类管理<span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="/admin/category">分类首页</a></li>
                                    <li><a href="/admin/category/add">添加分类</a></li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">内容管理<span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="/admin/content">内容首页</a></li>
                                    <li><a href="/admin/content/add">添加内容</a></li>
                                </ul>
                            </li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{userInfo.username}}<span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#">退出</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </nav>

            <div class="container">
                <!-- 占位符 -->
                {% block main %}{% endblock %}
            </div>

        </div>
    </div>
</div>







</body>
</html>